<template>
    <div class="page-container">
        <div>isEmpty: {{$V.isEmpty('aaa')}}</div>
    </div>
</template>

<script setup name="validate">
import setting from './setting'
const { proxy } = getCurrentInstance()
/** Data */
const previewImg = ref({
    show:false,
    url:''
})

/** 生命周期钩子 */
onMounted(()=>{
    validate()
})

/** Method */

function validate(url) {
    let _ = proxy
    console.log('validate', _.$V.isEmpty('aaa'))
}
</script>

<style lang="less" scoped>
@import "index.less";
</style>
